Skip to content

Add event version column#2321

Merged
ejsmith merged 4 commits into
mainfrom
feature/add-event-version-column
Jun 27, 2026
Merged

Add event version column#2321
ejsmith merged 4 commits into
mainfrom
feature/add-event-version-column

Conversation

@ejsmith

@ejsmith ejsmith commented Jun 22, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds version to event summary responses from the existing event @version metadata.
  • Adds a hidden-by-default Version column to the Svelte event table so it can be selected and saved in saved views.

Closes #1299.

Verification

  • npm run check in src/Exceptionless.Web/ClientApp
  • dotnet test tests/Exceptionless.Tests/Exceptionless.Tests.csproj -- --filter-class Exceptionless.Tests.Plugins.SummaryDataTests

Comment thread src/Exceptionless.Core/Plugins/Formatting/FormattingPluginManager.cs Outdated
@ejsmith ejsmith force-pushed the feature/add-event-version-column branch from c51faa9 to f612ef6 Compare June 25, 2026 04:58

@ejsmith ejsmith left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found one blocker.

  • The new version table column can be enabled in the UI, but saved-view validation still rejects it. Save/update sends the current columns and column_order to the saved-view endpoints, and NewSavedView.ValidColumnIds does not include version for events or stream, so a user who enables or orders this column will get a 422 when saving/updating the view. Add version to the event and stream allow-lists and cover it in the saved-view validation tests.
  • CI note: the current test-api failure is from the branch being behind main; the failing paging tests are covered by Fix event cursor pagination links (#2322). Rebase/merge main and rerun checks after the allow-list fix.

@ejsmith

ejsmith commented Jun 27, 2026

Copy link
Copy Markdown
Member Author

Addressed the remaining review feedback in c098626:

  • Added version to the events and stream saved-view validation allow-lists.
  • Added SavedViewControllerTests.PostAsync_VersionColumnForEventViews_Succeeds coverage for saving version in both columns and column_order.
  • Replied on the older data-shape thread; the column now uses top-level EventSummaryModel.Version / row.version instead of duplicating into summary data.

Local verification: dotnet test tests\Exceptionless.Tests\Exceptionless.Tests.csproj -- --filter-class Exceptionless.Tests.Controllers.SavedViewControllerTests passed, 92 tests.

Current GitHub checks for c098626 are still running: version, test-api, and test-client.

@ejsmith ejsmith marked this pull request as ready for review June 27, 2026 23:02
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.AppHost 39% 40% 134
Exceptionless.Core 71% 63% 8469
Exceptionless.Insulation 24% 23% 203
Exceptionless.Web 75% 63% 4773
Summary 70% (15956 / 22656) 62% (8121 / 13076) 13579

@ejsmith ejsmith merged commit 13a5586 into main Jun 27, 2026
10 checks passed
@ejsmith ejsmith deleted the feature/add-event-version-column branch June 27, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI: Allow customizing event columns

1 participant